package com.liyongjian.xhban.dal;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.liyongjian.xhban.model.BlogComment;
import com.liyongjian.xhban.model.emumm.LiveDieState;

public interface BlogCommentRepository extends PagingAndSortingRepository<BlogComment, Long> {

    Page<BlogComment> findByBlogIdAndState(Long blogId, LiveDieState state, Pageable pageable);

}
